﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace CoreLims.Models.CoreLims
{
    public static partial class Audit
    {
        /// <summary>
        /// 根据用户自己的ID，查找待办事项
        /// </summary>
        /// <param name="dbContext"></param>
        /// <param name="MyId"></param>
        /// <returns></returns>
        public static List<AuditAuditTrail> getMyRemind(CoreLimsContext dbContext, string MyId) =>
            dbContext.AuditTrail.Where(s => s.RemindUserId == MyId && s.AuditorId == null).ToList();

    }
}
